package com.hanserwei.community.entity.request;

import com.hanserwei.community.entity.common.PageRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class OwnerQueryRequest extends PageRequest {
    /**
     * 业主ID，主键
     */
    @Schema(description = "业主ID，主键")
    private Integer id;

    /**
     * 业主姓名
     */
    @Schema(description = "业主姓名")
    private String userName;

    /**
     * 联系电话
     */
    @Schema(description = "联系电话")
    private String tel;

    /**
     * 性别：男/女
     */
    @Schema(description = "性别：男/女")
    private String sex;

    /**
     * 身份证号码
     */
    @Schema(description = "身份证号码")
    private String identity;

    /**
     * 备注信息
     */
    @Schema(description = "备注信息")
    private String remarks;

    /**
     * 房屋ID
     */
    @Schema(description = "房屋ID")
    private Integer houseId;

    /**
     * 建筑ID，通过房屋关联
     */
    @Schema(description = "建筑ID")
    private Integer buildingId;
}
